<%if(authUser && authUser._id.toString() ===
          post.authorId.toString()){%>
<div class="post-menu__item">
  <a href="/post/<%= post._id?.toString()%>/edit" title="编辑当前文章"><i class="glyphicon glyphicon-edit text-info"></i></a>
</div>
<div class="post-menu__item">
  <a href="/post/<%= post._id?.toString()%>/delete" title="删除当前文章" class="delete delete-post"><i class="glyphicon glyphicon-trash text-danger"></i></a>
</div>
<%}%>
